<?php echo $header; ?>
<!-- End header -->

<!-- Begin content --> 
    <div id="main" class="p13t">
        <?php echo $column_left; ?>
        
        <div id="col2" class="w709">
            <div class="box_tt">
                <h4 class="p5t">SENESTE NYHEDER</h4>
            </div>
            <div class="box_content_underpage">
                <div class="box_content_underpage1 min_heght">
                    <?php if(!empty($contents)){ ?>
                        <div class="min_heght2">
                            <?php $count = count($contents); $i = 1; ?>
                            <?php foreach($contents as $item){ ?>
                                <?php $class = ($i < $count) ? ' boder_bt_do' : ''; ?>
                                <div class="text_news<?php echo $class; ?>">
                                    <?php if($item['image']){ ?>
                                        <a href="<?php echo $item['href']; ?>"><img src="<?php echo $item['image']; ?>" title="<?php echo $item['title']; ?>" alt="<?php echo $item['title']; ?>" /></a>
                                    <?php } ?>
                                    <p class=" text_tt"><?php echo $item['short_title']; ?></p>
                                    <?php echo $item['text']; ?><a href="<?php echo $item['href']; ?>">mere</a><br class="cb">
                                </div>
                                <?php $i++; ?>                                
                            <?php } ?>
                        </div>
                        <!-- Paging -->
                        <?php if($pagination){ ?>
                            <div class="tt_bottom_pro1 m12t">
                                <?php echo $pagination; ?>
                            </div>
                        <?php } ?>
                    <?php }else{ ?>
                        <div style="text-align: center; padding-top:15px;">
                            <h3 style="color:#000; font-size: 14px; text-transform: none;"><b><?php echo $text_empty; ?></b></h3>                
                        </div>
                    <?php } ?>
                </div> 
            </div>
            <div class="box_bottom"></div>
        </div>
        <p class="cb"></p>
    </div>
</div>
<!-- End content -->    

<!-- Footer -->
<?php echo $footer; ?> 